Removed hard-coded app rest url