authentication and manager modified