added usermailer and secreted keys