fix register page bugs and show errors
Merge pull request #25 from dotkrnl/register_error

fix register page bugs and show errors