completed basic login system with admin