Fixed bug with incorrect refreshing of the user
Merge pull request #603 from ste93cry/master

Fixed bug with incorrect refreshing of the user