log user in on creation