Implement password protocol