Added user accounts and basic login and logout functionality