Add user logic - log in, log out, sign up