REST added + ajax requests from front end