Add user authentication and agent settings manager