Register working with error detection and redirection if register is successful
Merge branch 'feature/register' into develop