routes updated
login and register updated