Only run getFavs() if user is logged in.