created custom routes on the edit, login, logout, index, and registration pages