made checking if username field is unique more conservative