security check implemented