complete login, logout, create user