Added restictions to upload page to only allow uploads when user is
logged in.