Added pretty printing to html code
Removed unused middleware
Changed response of ask to boolean
Added test for ask