Only allowing logged in users to post images