Converted InputStream in to and Ebb only works on the front end right now
next steps to get working on the back end