Added signup, login, logout functionality