Added the SecurityContextInterface instead of SecurityContext on contructor