Add get and post implementation with test