Completed login, signup and logout