WIP: sorting out issue where lease details are hidden if there is an error on hte form
fix typo
Fix failing build
Merge conflit
Merge branch 'refactor_api'