connect to data and check unique for username