disable db connect and fix login view route