Fix login and logout functionality. Also, show sign up button for unregistered member and show add cart button for registered