Add password storage and authentication logic