func (c Account) AddAppName() r.Result {
	c.ViewArgs["AppName"] = r.Config.StringDefault("app.name", "BaseApp")
	return nil
}
Add .AppName to ViewArgs
package controllers
import (
	"golang.org/x/crypto/bcrypt"
	"crypto/rand"
	"fmt"
	gr "github.com/ftrvxmtrx/gravatar"
	r "github.com/revel/revel"
	"bytes"
	"html/template"
	"net/smtp"
	"github.com/richtr/baseapp/app/models"
	"github.com/richtr/baseapp/app/routes"
	"strings"
	"time"
)
type Account struct {
	GorpController
}
const alphanum = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"
func (c Account) AddUser() r.Result {
	if profile := c.connected(); profile != nil {
		c.ViewArgs["user"] = profile
	}
	return nil
}