got logging in working