fixing the account security controller