defined custom routes for authentication and newfeed