[task] updated new registration controller and registration user bean

also renamed mail template folder -> templates
added bean validation dependency