updated User login module

The problem has been found on Facebook log out that cannot be realy
loged out