adds in some basic auth routes and forms