adds signup, login, logout function