Chapter 5 updates, login routes