My pages are working just fine but I want to improve the work flow. Right now I have two login pages. One for visitors shopping (login -> goes to checkout) and one for visitors wanting to change their profile (login -> goes to users_profile.php).
Is there a way to have one loging page and if visitors are shopping they are asked to login and redirected to the checkout page. With the same login page if they are NOT shopping they click on My Account and -> login and they either go back to the previous page and on top of the page they will have link yo Update their profile and logout?
Do I have have two login pages i order to accomplish that?