Some changes made in the AccountController