if already logged in get photos