Improve management system, login functionality