working on setting and logging in and out the current user