DB functioning correctly and REST working