Creating new method for secure controller