fixing two bugs with landing page login