finished bulk of login logic, need to come up with a solution for user roles