added v1 to api;made resources plural; added endpoint for registration