fixed some bugs in the authentication routes
updated the package file and added a usage section to the README file