Added Rest Functionality to webApp