Refactoring login, list and show jsp