fix approval page and login page