Made the login and profile buttons display correctly on the homepage