fixed logged out when looking at someone else's images