log-in fixes