Update submit button depending on whether the user is logged in or not.