username in db now unique, added new user function