Configured custom routes for login, logout and register.