Hiding Edit and Upload links in gallery page if non owner
Add a logout message