Removed unneeded code from AccountController