user object now checks if username already exists in the database