fixed login error message to be center and logout click back stays on login page