removed unused var from RegistrationHandler
removed unused dependency from StaticFileHandler