RegistrationScreen & Code reorganization

validate inputs.
Merge branch 'master' of https://github.com/CourseMates/CourseMates