Added all rest api methods to app