Fixed Syntax error and Added changePassword()

Added the function to change password; also fixed the syntax error on line 322

Was missing closing parenthetic bracket:
322: if( file_exists( $this->logDirectory . $fileName ) { ... }