Fixed main page still showing the sign up button when a user is logged in.