Fixing the login so the user would be shown corectly