some minor changes to AccountController