added log in logic to display sign up, logged in or out