adding in some basic endpoints and getting them to work