Associate logged user object to the global user property in login.php