fixed login, logout, signup, code that didn't get merged