index route and account route working