fixed logging of user authentication
Merge origin/master