added new get and post routes