Added picture saving to the server