added users, password encryption and an admin