Fixed duplicate entry on username field issue.