Added username check for registration