use ci framework to complete the login and management system.