basic login system and admin transistions