log in fixes