Refactoring

History pages are improved, and the button on forget password page is
fixed