fixed routing so login redirects to photos index
removed access controller home route, creating a photo redirects to single photo view instead of index
Added global method to check user, applied to photo controller