implented registration with some username validation removed to allow email character