Add sanitizer to server side for user inputs, and cleaned up code in bookApp