get users by id, or username, register new users, but login missing