login, logout, and reset password are working correctly