modify authentication for account, and modify routes