route for deleting a user, its reference function in the controller
fixed some jshint errors and allower slide show on index page