changed the layout of the login page and register page