Implemented password protection