Created two GET end points