added password which is being encrypted when added to the database
separating routes for authenticated and unauthenticated
removed uneeded things