Fixed user authentication & photos are now only clickable for logged in users