hide submit resource button if user is not logged in