set navigate butn on login & register page