logging to userController added