A website user needs to login or register on your web page. So, you need to redirect your customers to two distinct pages. New users will be directed to the Register page and logged out users will be directed to the login page. Further, this tutorial will guide you on