user can register, login, logout, and update