Disabling check password (function does not work properly)