Implements security check method
Corrects whitespace
New security check for more comfort and security
Renames method, because parent has one with the same name, and fixes wrong name