logging in, and saving character