added back button to register page