fix register page bugs and show errors
Merge branch 'register_error'