added beginnings of logic for login