only showing login form if not logged in. otherwise showing photo and links for logged in user