login and register page modified