refresh registration page

- refresh registration page instead of reloading it.