added DB functionality to add new users after checking to see if they're already there