fixed password locking which caused the app not to work properly