loggin fix