Rest calls working