adding makefile and fixing nest auth