hiding the button if the user hasn't logged in