Add submit function to registrtion view
Merge pull request #19 from Stargazeroo/registrationOnSubmitFunc

Add submit function to registrtion view