finish admin password setting function.