fixes not logged in button issue