first changes to logging in