Add logging during login