add authentication and save