(Joyce) Redirect if not logged in and try to access homepage.html or logged in and try to access signup