Added login, signup, logout functionality