Added endpoint for changing passwords