Authentication for photo upload