implement displaying photos after login