Fix error with jsp page
Refactoring/housekeeping of configurations