update navbar and format login page