Changed to the new name for the AnonymousUser
Removed extra apperances of app.routes for Dirichlet characters
Fixed bug with substitution in power series