Moved reference from application controller to login controller when deleting account.