Added security to backend
Added REST API