Completed user registration and refactored DAO management