User log in fixes