Fix jsp file path
Refactor controller