added working register page