Added user accounts, login, and logout functionality