defined custom routes for authentication and newsfeed