fixed bug with quality of saved photos to server and addede response 401 error status when user id was changed but other information and authorization token is alive